package com.kichina.parking.service.logic.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 通道信息记录表
 * </p>
 *
 * @author Surging
 * @since 2022-09-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class ChannelInfoRecord extends Model<ChannelInfoRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * 通道信息记录表主键ID
     */
    @TableId(value = "channel_info_record_id", type = IdType.UUID)
    private String channelInfoRecordId;

    /**
     * 车场ID	
     */
    private String parkid;

    /**
     * 通道ID
     */
    private Integer gateid;

    /**
     * 通道名称
     */
    private String gatename;

    /**
     * 进出方向;1进，0出
     */
    private Integer iostate;

    /**
     * 通道类型;0外场,2内场
     */
    private Integer ispass;

    /**
     * 备注
     */
    private String remark;

    /**
     * 操作类型;	1添加 3删除
     */
    private Integer operateType;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 消息类型
     */
    private String service;


    @Override
    protected Serializable pkVal() {
        return this.channelInfoRecordId;
    }

}
